<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'The term ends tomorrow',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/03/27.jpg" alt="The balcony outside my door" class="framed-centred-image" width="649" height="480"/>
<section id="healing">
	<h2>Healing from surgery</h2>
	<p>
		I&apos;ve been monitoring the surgical site of my vasectomy.
		I&apos;m not really worried, so I&apos;ve missed a few days, but I&apos;ve been curious as to how long it&apos;ll take before my scrotum looks normal again.
		Even yesterday, the site was still pretty visible, and there&apos;s been a hard lump at the incision spot ever since the skin reformed.
		Today though, the lump&apos;s almost completely gone, and I thought at first that the visible damage was gone as well.
		It&apos;s still there though, a little bit.
		So it&apos;s been almost two months now, and signs of the operation are all but completely gone.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion posts for the day:
	</p>
	<blockquote>
		<p>
			A former friend of mine kept trying to get me to switch from Apache to NGINX too.
			NGINX may have better speed, but Apache has better $a[PHP] integration.
			If you&apos;re running a $a[PHP]-based website, I&apos;d recommend sticking with Apache.
			That said, my website&apos;s entirely made up of static $a[XHTML], $a[CSS], JavaScript (very little, you wouldn&apos;t even really notice if you had JavaScript disabled), $a[PNG]s, $a[JPEG]s, and plain text files.
			Switching to NGINX probably would be a better option for me.
			Like you said too, static files beat out scripts in terms of speed, but they also don&apos;t allow you to do anything dynamic.
		</p>
		<p>
			For the most part, I agree with your post, but there is one huge issue I&apos;d like to mention.
			You say to encrypt login pages, but <strong>*all pages*</strong> really should be encrypted.
			Using $a[TLS] (the modern replacement for the outdated $a[SSL]) for every page really is best for both privacy and security of your users.
			Leaving any page unencrypted is unacceptable in the modern world, where everyone is under constant surveillance.
		</p>
	</blockquote>
	<blockquote>
		<p>
			You make a good point about all the tuning that can be done when building the dendrogram.
			Data may need to be normalised in some way, to prevent one data field from overwhelming another.
			The similarity measure also needs to be chosen.
			I&apos;d also say the method of deciding the measure used for branches needs to be decided upon.
			For example, do you take the average of the leaves to find where the branch lies when attempting to merge it, or do you compare each leaf to each leaf of the other branch (or single leaf)?
			The book mentioned a few other options, too.
		</p>
	</blockquote>
	<p>
		I planned to get outside and do something today, but I just couldn&apos;t keep my mind on-task long enough to get the last of my coursework done first.
		Even thinking about the work at this school makes my lethargic.
		There&apos;s a reason I title the journal sections about my school activities &quot;Drudgery&quot;.
		I did get everything done though.
		I got the reading material finished before I worked on the remainder of the discussion assignment, and I got the discussion assignment completed with almost two full hours to spare.
		I didn&apos;t technically need to get the reading done tonight.
		I still had tomorrow.
		I just want to be done with the term though.
		With all but the final completed, I&apos;ll be done for the term as soon as the final is over tomorrow.
	</p>
	<p>
		Besides, tomorrow&apos;s going to be a busy day, and I don&apos;t need the extra baggage of needing to finish the reading assignment on top of it.
		First, the missionaries are coming over in the morning.
		When they leave, I need to bike to Eugene to take my final exams.
		Then I need to bike home to Springfield again, and a bit later, bike back to Eugene for the $a[EUGLUG] meeting.
		It&apos;s likely going to be physically tiring, and on top of that, I want to fit in finding the address of and directions to some places offering $a[laser] hair removal.
		The next day begins my hunt for where I&apos;ll get the treatments done, and I want a head start on that, so I can make the most of my time.
	</p>
	<p>
		I also needed to get most of my website update completed tonight so I wouldn&apos;t have to do it tomorrow, adding another thing I needed to get done after my coursework.
		The update posts tomorrow, and I don&apos;t want to do more work on the website tomorrow than deal with tomorrow&apos;s weblog entry and tomorrow&apos;s weblog photograph.
		Oh yeah, and write about the final exams in my learning journals, which are also technically a part of the website update as far as my workflow is concerned, even though they won&apos;t make it onto the website for a few more years.
	</p>
</section>
<section id="glitches">
	<h2>Glitches</h2>
	<p>
		I&apos;m not sure exactly how it happened, but it seems my camera lost a couple days.
		The twenty-first through twenty-third all registered as the twenty-first, so all photographs taken beyond that are dated two days off from where they should be, and dates in that range are dated as the twenty-first.
		The clock times are off a bit too, even outside that range.
		I&apos;ve fixed the date and time for future photographs and I reshot tonight&apos;s photo, but the ones taken during the rest of this week aren&apos;t marked correctly.
	</p>
</section>
<section id="calendar">
	<h2>Calendar</h2>
	<p>
		I want to invent some sort of calendar that displays my plans in $a[XHTML].
		It&apos;d be easier for me to look ahead, and it&apos;d be easier for me to share my schedule with those I try to share it with.
		My <code>\\st\\y\\calendar</code> class would no doubt do most of the heavy lifting, so I&apos;m probably over halfway there even without lifting a finger on this specific project.
		The tricky part would be figuring out how to set what gets displayed on each day and how to mark ranges of days.
		Ranges would be important because I want to see where my university terms land.
		There&apos;s pretty much no way I&apos;ll have this figured out by the end of tomorrow, when my website update is due.
		Maybe I&apos;ll work on it during the break between terms though.
	</p>
</section>
END
);
